/*
 * @Author: herw
 * @Date: 2020-07-16 11:23:21
 * @Last Modified by:   herw
 * @Last Modified time: 2020-07-16 11:23:21
 */
import defaultSettings from '@/settings'

const title = defaultSettings.title || 'GREATWALL WEB TEMPLATE'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
